package org.vectrics.common.html;

import org.apache.log4j.Category;
 
/**
    This class produces an HTML table element with a border between each cell.

    @version $Id: BorderTable.java,v 1.4 2006/06/08 12:43:53 vectrics Exp $
    @author <a href="mailto:support@vectrics.com">Mike Moore</a>
*/
public class BorderTable extends Table {
    private static Category log = Category.getInstance(BorderTable.class);
    private String defaultHeaderCellClass = null;
    
    public BorderTable() {
        super();
        log.debug("BorderTable() - constructor called.");
        defaultHeaderCellClass = null;
        this.setEvenCellClass("borderCellEven");
        this.setOddCellClass("borderCellOdd");
        super.setClass("borderTable");
    }

    public void setDefaultHeaderCellClass(String className) {
        this.defaultHeaderCellClass = className;
    }

    public String getDefaultHeaderCellClass() {
        return(this.defaultHeaderCellClass);
    }
    

}